#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QtNetwork>
#include <QTextEdit>
#include "client.h"
#include "server.h"

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow {
    Q_OBJECT

    public:
        explicit MainWindow(QWidget *parent = 0);
        ~MainWindow();

    public slots:
        void makeServer();
        void makeClient();

    private:
        void disableStuff();    //disables stuff

        Ui::MainWindow *ui;
        client *Client;
		Server *server;
};

#endif // MAINWINDOW_H
